
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GameEvents;

/**
 *
 * @author avia
 */
public class MoveEvents extends GameEvents{
    Boolean PlayerMove;
    Integer NextBoardSquareID;
     public MoveEvents  (String GameName,Integer EventID,Integer EventType,String PlayerName
            ,String EventMessage,Integer BoardSquareID,Boolean PlayerMove,Integer NextBoardSquareID)
    {
           super(GameName,EventID,EventType,PlayerName ,EventMessage,BoardSquareID);
           this.PlayerMove=PlayerMove;
           this. NextBoardSquareID= NextBoardSquareID;  
     }

     @Override
      public boolean isPlayerMoved() {
        return PlayerMove;
    }
     
 @Override
    public int getNextBoardSquareID() {
        return NextBoardSquareID;
    }

}
